require_relative "helper"
require "calories"

describe Calories do

  it "must calculate calories from alcohol" do
    (Calories.from_alcohol 1.053, 1.01).must_equal 113
  end

  it "must calculate calories from extract" do
    (Calories.from_extract 1.053, 1.01).must_equal 62
  end

  it "must calculate calories per serving" do
    (Calories.per_serving 1.053, 1.01).must_equal 175
  end

end
